<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%@page import="java.net.*"%>    

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
		String requestUrl="http://localhost:8080/mvn-springmvc-01-1609/teacher/add?school=itjob&teacherAge=33";
		URL url = new URL(requestUrl);    //把字符串转换为URL请求地址  
    	HttpURLConnection connection = (HttpURLConnection) url.openConnection();// 打开连接  
    	//addRequestProperty添加相同的key不会覆盖，如果相同，内容会以{name1,name2}  
    	connection.addRequestProperty("laoshi", "huanglaoshi");  //来源哪个系统
	%>
	<a href="${pageContext.request.contextPath}/teacher/add?school=itjob&teacherAge=33">教师模块</a>
</body>
</html>